package sz.szsmk.citizencard.ui.adapter;

import android.content.Context;
import androidx.recyclerview.widget.RecyclerView;

import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.TextView;


import java.util.List;

import sz.szsmk.citizencard.R;

/**
 * Copyright (c)2019
 * author: zdh
 * created on: 2019/1/10 21:00
 * description:
 */
public class BusChangeDetailAdapter extends RecyclerView.Adapter<BusChangeDetailAdapter.BusChangeDetailViewHolder> {
    private Context context;


    @Override
    public BusChangeDetailViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
        return new BusChangeDetailViewHolder(LayoutInflater.from(context).inflate(R.layout.item_busdetail, parent, false));
    }

    @Override
    public void onBindViewHolder(BusChangeDetailViewHolder holder, int position) {
    }

    class BusChangeDetailViewHolder extends RecyclerView.ViewHolder {

        private TextView tv_xlinfo;
        private TextView line_top;
        private TextView line_bottom;
        private ImageView iv_tip;

        public BusChangeDetailViewHolder(View itemView) {
            super(itemView);
            tv_xlinfo = (TextView)itemView.findViewById(R.id.xlinfo);
            line_top = (TextView)itemView.findViewById(R.id.linetop);
            line_bottom = (TextView)itemView.findViewById(R.id.linebottom);
            iv_tip = (ImageView)itemView.findViewById(R.id.iv_tip);
        }
    }

    @Override
    public int getItemCount() {
        return 0;
    }
}
